Skip to content

Conversation

aldy505
Copy link
Collaborator

@aldy505 aldy505 commented Oct 4, 2025

To not mislead people and to prevent time spent scrolling on GitHub issues just to fix why requests to private IP addresses are not working.

One example: #3957

To not mislead people and to prevent time spent scrolling on GitHub issues just to fix why requests to private IP addresses are not working.
Copy link

codecov bot commented Oct 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.49%. Comparing base (5cf07c8) to head (0dacf34).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3981   +/-   ##
=======================================
  Coverage   99.49%   99.49%           
=======================================
  Files           3        3           
  Lines         197      197           
=======================================
  Hits          196      196           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# accidentally leaking sensitive information to third parties.
# By default, Sentry will not allow requests to private IP addresses.
# You can override this by configuring the allowed IP addresses here.
SENTRY_DISALLOWED_IPS: tuple[str, ...] = (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this list maintained on sentry repository and once you remove an IP from here you can send a request to that removed IP?

SENTRY_DISALLOWED_IPS is a little misleading name IMHO.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this list maintained on sentry repository and once you remove an IP from here you can send a request to that removed IP?

Yes.

SENTRY_DISALLOWED_IPS is a little misleading name IMHO.

cc @oioki

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better for self-hosted to maintain a SENTRY_OUTGOING_ALLOWED_IPS list and remove the items from getsentry/sentry list?

Not that IANA is going to change this list :) It has better readability for users to maintain allowed IPs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants